@charset 'utf-8';
$color-link: #666;
$color-hover: #e70012;
$background-color:#fdfeff; 
$placeholder-color: #999;
$web-color: #e70012;
$fixed-bottom: 0px;
$body-line-height: .24rem;
$t-o-n:3;

/*=========================================全局共用属性CSS nie ===============================================*/

 
body, div, span, h1, h2, h3, h4, h5, h6, p, em, img, strong, b, small, u, i, center, dl, dt, dd, ol, ul, li,  sub, sup, tt, var, del, dfn,  ins, kbd, q, s, samp,  strike, applet, object, iframe, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, menu, nav, output, ruby, section, summary, time, blockquote, pre, a, abbr, acronym, address, big, cite, code, mark, audio, video, input, textarea, select { margin:0; padding:0;}
li { list-style:none; }
em { font-style: normal; }
dt { font-weight: normal; } 

/* HTML5 重置为较旧版本的浏览器 */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section,main { display:block;}
blockquote, q{ quotes:none; }
blockquote:before, blockquote:after, q:before, q:after { content:''; content:none; }
table { border-collapse: collapse; border-spacing: 0; }
table td { word-break: break-all;}

/* 按钮样式 */
input, button, textarea, select { outline:none; resize:none; font-family: Microsoft YaHei,Arial;/* border-radius: 2px; *//* -webkit-appearance: none; */ }
input[type="button"],input[type="submit"],input[type="reset"]{cursor:pointer; border:0}
input::-webkit-input-placeholder {color: $placeholder-color;}
input:-ms-input-placeholder {color: $placeholder-color;}
input::placeholder {color: $placeholder-color;}


/*删除火狐下按钮默认样式*/
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner{ border:none; padding:0; }
/*浮动*/
.fl { float: left;}
.fr { float: right;}
.clear{display:block;font-size: 0;height:0;overflow:hidden;clear:both;}
.clearfix:after{content:'\20';display:block;height:0;clear:both;}
.clearfix{zoom:1;}html{ overflow-x:hidden; font-size: 100px;  }
.df { display: -webkit-box; display: -ms-flexbox; display: flex;-ms-flex-pack: distribute;justify-content: space-around;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-ms-flex-wrap: wrap;flex-wrap: wrap; }
/*a 链接*/
a { text-decoration:none; outline:none;   }
 a:link,a:visited { color: $color-link;  -webkit-transition: all 0.3s; transition: all 0.3s; }
a:hover, a:active, a:focus {color: $color-hover; text-decoration:none; }

/*图片居中*/
.middle { display:table-cell; *display:block; overflow:hidden; font:0px/0px 'Arial'; text-align:center; vertical-align:middle;}
fieldset, img { border:0;height: auto; vertical-align:middle;-ms-interpolation-mode: bicubic;}
 
/* common */
* { -webkit-box-sizing:border-box;
	box-sizing:border-box;
}


/* 文本溢出隐藏 */
.t-o {display: block;overflow: hidden;white-space: nowrap;text-overflow: ellipsis; -o-text-overflow: ellipsis;   -moz-binding: url("ellipsis.xml#ellipsis"); }
.t-o-2{overflow : hidden;text-overflow: ellipsis;display: -webkit-box!important;-webkit-line-clamp: 2;-webkit-box-orient: vertical;/* text-align: justify; */}

.t-o-n{position: relative;text-align: justify; line-height: $body-line-height; max-height:$t-o-n * $body-line-height;overflow: hidden;}
.t-o-n::after{content: "..."; position: absolute; bottom: 0; right: 0; padding-left: .4rem;
background: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(55%, #fff));
background: linear-gradient(to right, transparent, #fff 55%);
} 

body {  -webkit-text-size-adjust:none;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);  font-family: Microsoft YaHei,Arial; color: $color-link;  font-size:14px;font-weight: 400;line-height: 1.4; padding-bottom: $fixed-bottom;margin: 0 auto;background-color: $background-color;  }
.main,.main2 { 
  clear: both; 
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
} 
.main {overflow: hidden;} 
@media screen and(max-width:640px){
  .main,.main2{ max-width: 640px;}
  body{  max-width: 640px;  }
}
   
.delay200 {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

._img {
  overflow: hidden;
  cursor: pointer;
  display: block;
}
._img img {
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
._img:hover img {
  -webkit-transform: scale(1.2, 1.2);
  transform: scale(1.2, 1.2);
}  
// head
 
  header{ border-top: 3px solid $web-color; line-height: 30px; background-color: #fdfeff}
  header .head-top{-webkit-box-pack: justify;-ms-flex-pack: justify;justify-content: space-between; }
  header .head-top p{ position: relative; }
  header .head-top p::before{ content: "";position: absolute;border-width: 15px  10px; border-style: solid; border-color: $web-color $web-color transparent transparent;left: -20px;top: 0; }
  header .head-top p::after{ content: "";position: absolute;border-width: 15px  10px; border-style: solid; border-color: $web-color  transparent transparent $web-color;right: -20px;top: 0; }
  header h3{font-size: 14px;font-weight: normal; }
  header p {background-color: $web-color; }
  header p a{color: #ffffff!important;display: inline-block;padding: 0 10px; }
  .head-con{  -webkit-box-pack: justify;  -ms-flex-pack: justify;  justify-content: space-between;padding: 20px 0 46px; }
  .head-con a{ display: block}
  .head-c form div{ border: 1px solid #ddd;height: 45px; line-height: 45px;padding-left: 15px}
  .head-c form div input{border: none; height: 100%;   }
  .head-c form div input:first-child{ width: 256px;/* background: url("../images/search-d.jpg") 90% center no-repeat;  */}
  .head-c form div input+input{border-left: 1px solid #ddd; width: 42px;height: 42px; background: url("../images/search.png") center center no-repeat;}



nav {
  background-color: #282828;

  .main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    & > a {
      display: none;
    }
    ul {
      -webkit-box-flex: 3;
      -ms-flex: 3;
      flex: 3;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -ms-flex-pack: distribute;
      justify-content: space-around;
      li {
        
        
        a { 
          width: 100%;
          text-align: center;
          display: block;
          font-size: 16px;
          line-height: 56px; 
          color: #fff;
          padding: 0 25px;
        }
        &:hover a {
          background-color: $web-color;
          border-right-color: $web-color;
        }
        &.nav_on a {
          border-right-color: $web-color;
          background-color: $web-color;
        }
      }
    }
  }
}
nav.nav_fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #f5f5f5;
  z-index: 999;
  -webkit-box-shadow: 0 2px 6px rgba($web-color, 0.24);
  box-shadow: 0 2px 6px rgba($web-color, 0.24);
  ul li a{ 
    border-left: 1px solid #e8e8e8;
    border-right: none;
    background-color: #f5f5f5!important;
    color: $web-color;
  }
  ul li:hover a{
    color: #fff;
    background-color: $web-color!important;
  }
  .main {
    padding: 0 0;
    & > a {
      display: block;
      width: 132px;
      padding-right: 20px;
    }
  }
}
// head

#banner { 
  .swiper-pagination .swiper-pagination-bullet {
    width: 20px;
    height: 8px; 
    background: #282828;
    opacity: 1;
    border-radius: 0;
  }
  .swiper-pagination{     bottom: 60px; }
  .swiper-pagination .swiper-pagination-bullet-active {
    background: $web-color;
  }
}
  

// slide menu
.txt {
  height: 0.84rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0 0.15rem;
  background-color: #fff;
}
.txt a img {
  width: 2.39rem;
  height: 0.67rem;
}
.txt .btn b {
  width: 0.4rem;
  height: 0.4rem;
  background: url("../images/tel.png") no-repeat;
  background-size: contain;
  display: inline-block;
}
.txt .btn b a {
  display: block;
  height: 100%;
}
.txt .btn i {
  display: inline-block;
  background-color: #d2d2d2;
  width: 1px;
  margin: 0 0.2rem;
  width: 1px;
  height: 0.38rem;
}
.txt .btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.txt .btn span {
  display: inline-block;
  width: 0.4rem;
  height: 0.31rem;
  background: url("../images/menu.png") no-repeat;
  background-size: contain;
}
.sidebar-wrapper {
  position: relative;
  height: 100%;
  overflow: auto;
}
#dowebok {
  position: fixed;
  right: -250px;
  top: 0;
  bottom: 0;
  width: 250px;
  background-color: #b71c1c;
}
#dowebok .nav {
  margin-top: 50px;
  line-height: 40px;
  list-style-type: none;
}
#dowebok .nav a {
  display: block;
  padding: 0 20px;
  color: #fff;
  text-decoration: none;
}
#dowebok .nav a:hover {
  background-color: #e62828;
}
[data-simplersidebar="active"] {
  -webkit-box-shadow: -3px 0 3px 0 rgba(0, 0, 0, 0.5);
  box-shadow: -3px 0 3px 0 rgba(0, 0, 0, 0.5);
}

.header_scroll {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  border-bottom: 1px solid #f3f3f3;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  height: initial;
}

/*==============================列表分页 start==============================*/
div.digg {
  clear: both;    padding: 28px 0 20px;
  text-align: center;
  display: block;
  border-radius: 4px;
  line-height: 0.18rem;
}
div.digg a {
  display: inline-block;
  padding: 5px 12px;
  margin: 0 0 0 0.08rem;
  border: 0px solid #007bc5;
  line-height: 0.2rem;
  color: #007bc5;
  background: #fff;
  text-decoration: none;
}
div.digg a:hover {
  z-index: 3;
  color: #666;
  background: #dcf2ff;
}
div.digg a,
div.digg span {
  padding: 5px 10px;
  margin-left: -1px;
  color: #666;
  text-decoration: none;
  background: #fff;
  border: 1px solid #ddd;
  display: inline-block;
}
div.digg span.disabled {
  background: #fff;
  color: #aaa;
}
div.digg span.current {
  background: $web-color;
  color: #fff;
  border: 1px solid $web-color;
}
/*==============================列表分页 end==============================*/

/*qq、返回顶部*/
.youce {
  width: 54px;
  float: right;
  position: fixed;
  right: 25px;
  bottom: 55px;
  _position: absolute;
  _bottom: auto;
  _margin-bottom: 15px;
  z-index: 10000;
}
.youce ul li {
  margin-bottom: 3px;
  width: 41px;
  background: $web-color;
}
.youce ul li:hover {
  background: #9b8574;
}
.youce ul li a {
  display: block;
  width: 41px;
  height: 41px;
}
.youce ul li a.yc4 {
  background: $web-color url(../images/yc_04.png) no-repeat center;
}


// footer
footer{ background-color: #1f1f1f; }
footer nav{ background-color: initial;; }
footer nav .main{ border-bottom:1px solid #404040; }
footer nav .main ul li a{ line-height: 72px; }
#foot-con{  padding: 22px 0 70px;    -webkit-box-align: start;    -ms-flex-align: start;    align-items: flex-start;}
#foot-con .foot-con-l{  padding-top: 20px;}
#foot-con>dl{  padding-top: 10px;}
#foot-con .foot-con-l{ -webkit-box-flex: 1; -ms-flex: 1; flex: 1 }
#foot-con .foot-con-c{ height: 230px;; -webkit-box-flex: 2;; -ms-flex: 2;; flex: 2; border-right: 1px dashed #414141; border-left: 1px dashed #414141;padding-left: 50px;color: #4f4f4f;;line-height: 1.6 }
#foot-con .foot-con-c dt{font-size: 30px;; }
#foot-con .foot-con-c dd{font-size: 16px;; }
#foot-con .foot-con-r{ -webkit-box-flex: 1; -ms-flex: 1; flex: 1; }
#foot-con .foot-con-r dt{ font-size: 30px;color: $web-color;line-height: 2; }
#foot-con .foot-con-r dd{color: #fff; }

#foot-bottom{ background-color: #282828 }
#foot-bottom>*{ line-height: 60px; }
#foot-bottom .main { position: relative;overflow: initial;
  height: 60px; }
#foot-bottom .main>dl,#foot-bottom .main>p{ float: left; }
#foot-bottom .main>div{ float: right; } 
#foot-bottom .main dl{background-color: $web-color; color: #fff; padding: 0 40px 0 0px; } 
#foot-bottom .main:after{ content: ""; position: absolute;top: 0;width: 800px;height: 100%; background-color: $web-color; -webkit-transform: translateX(-100%); transform: translateX(-100%)} 
#foot-bottom .main dl dd{display: inline-block; } 
#foot-bottom .main dl a{ color: #fff; }  

// footer
